package com.ctshk.rpc.order.season.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author  杨林
 * @date  2021/3/24 18:17
 * @version 1.0
 */
@Data
@ApiModel(value="SeasonProductOrderCommodityDTO对象", description="套票订单 商品信息")
public class SeasonProductOrderCommodityDTO implements Serializable {



    @ApiModelProperty(value = "关联t_season_order 表id 表id")
    private Long seasonOrderId;

    @ApiModelProperty(value = "单项订单id(打包下单成功后根据每个单项订单返回的id存储)")
    private Long orderId;

    @ApiModelProperty(value = "该产品Id")
    private Long productId;



    @ApiModelProperty(value = "日期")
    private LocalDate productDate;

    @ApiModelProperty(value = "规格名称 多个以逗号分隔")
    private String specificationName;

    @ApiModelProperty(value = "规格id 1")
    private Long attr1Id;

    @ApiModelProperty(value = "规格id 2")
    private Long attr2Id;


    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "适用人群id")
    private Long applicableCrowdId;

    @ApiModelProperty(value = "适用人群名称")
    private String applicableCrowdName;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "产品价格")
    private BigDecimal productPrice;

}